Determining and Reversing Contour Direction
The contours of geometric shapes have a contour direction: clockwise or contourclockwise. The following factors determine the contour direction of a contour:
For a discussion of geometric points, see Chapter 2, "Geometric Shapes," in this book.
- the order and position of the geometric points that make up the contour
- the contour's relative position to other contours in the shape if the shape has multiple contours
The
GXGetShapeDirection
function allows you to determine the contour direction of a specified contour of a shape.The
GXReverseShape
function allows you to reverse the order of the geometric points that define a contour and therefore reverse the contour's direction.
Subtopics
- GXGetShapeDirection
- GXReverseShape
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help